#1.6
import matplotlib.pyplot as plt

xlist=[]
ylist=[]
s=10000
for i in range(2021,2041):
    s=round(s*(1+0.05),2)
    ylist.append(s)
    xlist.append(i-2020)
    print(i," ",s)

plt.suptitle('How much I got')
plt.ylabel('Money')
plt.xlabel('The year')
plt.axis([0,21,10000,28000])
plt.plot(xlist,ylist)
plt.grid() 
plt.show()
